package com.skillworld.webapp.model.gameservice;

import java.util.List;
import java.util.Set;

import com.skillworld.webapp.model.department.rank.DeptRank;
import com.skillworld.webapp.model.gamemap.GameMap;
import com.skillworld.webapp.model.gamemap.Position;
import com.skillworld.webapp.model.item.Item;
import com.skillworld.webapp.model.itemservice.BagFullException;
import com.skillworld.webapp.model.itemservice.NoLevelException;
import com.skillworld.webapp.model.itemservice.NoUsagesLeftException;
import com.skillworld.webapp.model.util.PermissionDeniedException;

import es.udc.pojo.modelutil.exceptions.InstanceNotFoundException;


public interface GameService
{  
    public GameMap findMapByName(String mapName)
            throws InstanceNotFoundException;
    public GameMap joinMap(Long userId, String mapName) 
            throws InstanceNotFoundException, PermissionDeniedException;
	public void savePosition(Long userId, String mapName, Position pos)
	        throws InstanceNotFoundException;
	public Item playCasino(long userId) 
    throws InstanceNotFoundException, 
            PermissionDeniedException, 
            BagFullException;
}
